package com.zdsx.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
@ApiModel(value = "登录表单")
public class WxLoginDTO {

    @ApiModelProperty(value = "手机号")
//    @NotBlank(message="手机号不能为空")
    private String mobile;

    // wx code
    @NotBlank(message = "code不能为空")
    private String code;

    // 昵称
    private String wxNickName;

    // 性别：0男性1女性2保密
    private int wxGender = 2;

}